-- GENERATED SPELL FOR [Boulderfist Saboteur] --


function spell0_18396(pUnit, Event) --@Spear Throw,n/a--
pUnit:FullCastSpellOnTarget(32248,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18396', 585, 1)
end

function Sorts_18396(pUnit, Event)
local choix_sorts_18396 = math.random(0, 0)
if choix_sorts_18396 == 0 then
pUnit:RegisterEvent('spell0_18396', 1, 1)
end
end

function mob18396_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18396', math.random(1500, 3000), 1)
end

function mob18396_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18396_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18396_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18396, 1, 'mob18396_Action')
RegisterUnitEvent(18396, 2, 'mob18396_Leave')
RegisterUnitEvent(18396, 3, 'mob18396_Kill')
RegisterUnitEvent(18396, 4, 'mob18396_Die')
